import 'package:backend.purchases/domain/entities/app_store_api/app_store_api_environment.dart';
import 'package:backend.purchases/domain/entities/app_store_api/app_store_api_transaction_offer_type.dart';
import 'package:backend.purchases/domain/entities/app_store_api/app_store_api_transaction_ownership_type.dart';
import 'package:backend.purchases/domain/entities/app_store_api/app_store_api_transaction_revocation_info.dart';

abstract class AppStoreApiTransaction {
  String get id;

  DateTime get time;

  String get originalTransactionId;

  String get purchaseItemSku;

  AppStoreApiTransactionOfferType get offerType;

  AppStoreApiTransactionOwnershipType get ownershipType;

  AppStoreApiEnvironment get environment;

  AppStoreApiTransactionRevocationInfo? get revocationInfo;
}
